<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

//Route::get('/', function () {
//    return view('welcome');
//});
// Home 模块
Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index');
//加载前台路由
include('home.php');

//加载后台路由
include ('admin.php');

//加载接口路由
include('admin_api.php');

//加载客服端路由
include('KefuServer.php');

//公共路由
Route::post('agoni/upload', '\App\Http\Controllers\Admin\UploadController@index');
Route::post('editormd/upload', '\App\Http\Controllers\Admin\UploadController@editormd');

